package com.sentrix.auto.printercenter.domain.entity;


import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;


@EqualsAndHashCode(callSuper = true)
@Data
@Table(value = "printer_task")
public class PrinterTaskEntity extends BaseEntity {
    private String orderNo;
    private String printerCode;
    private String agentCode;
    private String agentName;
    private String printerName;
    private TASKSTATUS taskStatus;

    private Long gmtPrint;
    private String data;
    private String errorMessage;

    public enum TASKSTATUS {
        WAITING,
        PRINTING,
        COMPLETE,
        FAILED,
        CANCEL;
    }
}
